package com.captjack.wechat.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @author Administrator
 */
@SpringBootApplication(scanBasePackages = {"com.captjack.wechat.admin"}, exclude = {DataSourceAutoConfiguration.class})
@EnableCaching
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 300)
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }

}
